package com.lagou.config;

import com.lagou.util.ParameterMapping;

import java.util.List;

/**
 * @author: lcz
 * @date: Created in 13:30 2020/9/26
 * @description:
 */
public class BoundSql {
    //解析之后的sql语句
    private String sql;
    //解析得到的参数集合
    private List<ParameterMapping> parameterMappings;

    public BoundSql(String sql, List<ParameterMapping> parameterMappings) {
        this.sql = sql;
        this.parameterMappings = parameterMappings;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public List<ParameterMapping> getParameterMappings() {
        return parameterMappings;
    }

    public void setParameterMappings(List<ParameterMapping> parameterMappings) {
        this.parameterMappings = parameterMappings;
    }
}
